import ProxyInterface from '../proxy-interface';
import { CommentReplyModel } from '../model/comment';

class CommentReplyProxy implements ProxyInterface<CommentReplyModel> {
  private reply = new CommentReplyModel()

  constructor (responseData) {
    let data = responseData.data || responseData
    Object.assign<CommentReplyModel, any>(this.reply, data)
  }

  getModel (): CommentReplyModel {
    return this.reply
  }
}

export {
  CommentReplyProxy
}
